<?php
Yii::import('zii.widgets.CPortlet');
abstract class SideList extends CPortlet
{
    public function renderContent()
    {
        $lis = '';
		foreach ($this->items as $model) {
			$lis .= CHtml::tag('li', array(), $this->getUrl($model));
		}
		echo CHtml::tag('ul', array(), $lis);
    }
    
    abstract public function getItems();
    
    abstract public function getUrl($modle);
}